package end.ser.imp;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import end.bean.Announcement;
import end.dao.AnnouncementDAO;
import end.ser.AnnouncementSER;

/**
 * AnnouncementSER 上午8:52:49 Copyright zhaocj Inc. All rights reserved. Love Me
 * Like Love Justin Bieber
 * 
 */
@Service("announcementSER")
public class AnnouncementSERImp<T> extends BaseSERImp<T> implements
		AnnouncementSER<T> {
	@Autowired
	private AnnouncementDAO<T> mapperDAO;

	public AnnouncementDAO<T> getMapperDAO() {
		return mapperDAO;
	}

	public void setMapperDAO(AnnouncementDAO<T> mapperDAO) {
		this.mapperDAO = mapperDAO;
	}

	@Override
	public List<Announcement> listAnnouncementByManager() {
		return mapperDAO.listAnnouncementByManager();
	}
}
